#ifndef IMPORTPROCESS_H
#define IMPORTPROCESS_H

#include <QThread>

class ImportModule;
class PioCore;

class ImportProcess : public QThread
{
    Q_OBJECT
public:
    explicit ImportProcess(PioCore * core, ImportModule * module, QList<int> selection, bool deleteSource, bool ejectMedium, QObject *parent = 0);

signals:
    void progress(int progress);

public slots:
    void stop();

protected:
    virtual void run();

private:
    PioCore * m_core;
    ImportModule * m_module;
    QList<int> m_selection;
    bool m_deleteSource;
    bool m_ejectMedium;
    bool m_stop;
};

#endif // IMPORTPROCESS_H
